package io.noties.markwon.plugin.ins

import android.text.TextPaint
import android.text.style.MetricAffectingSpan
import io.noties.markwon.theme.MarkwonTheme

class InsSpan (val theme: MarkwonTheme):  MetricAffectingSpan() {
    override fun updateDrawState(tp: TextPaint?) {
        tp?.color=theme.colorTheme.headingBreakColor.toInt()
    }

    override fun updateMeasureState(textPaint: TextPaint) {
    }

}